package com.rt.cms.service;


import com.rt.cms.common.base.Page;
import com.rt.cms.common.base.PageResultSet;
import com.rt.cms.data.entity.TbApprovalRecord;

import java.util.List;

public interface ApprovalService {

    /**
     * 根据企业id查询审批记录
     * */
    List<TbApprovalRecord> queryApprovalRecordByUsrId(int comInfoId);

    /**
     * 根据企业id查询休眠记录
     * */
    List<TbApprovalRecord> queryDormanyRecordByUsrId(int comInfoId);

    /**
     * 根据企业id查询待休眠记录
     * */
    List<TbApprovalRecord> queryWaitDormanyRecordByUsrId(int comInfoId);

    PageResultSet<TbApprovalRecord> queryHistoryRecord(Integer id, Page page);

    PageResultSet<TbApprovalRecord> queryDormanyRecord(Integer id, Page page);
}
